package com.stu.fifthtry.mapper;

import com.stu.fifthtry.pojo.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface StudentMapper {


    @Select("select * from stusys.student where special_course_id=#{name}")
    public List<Student> getBySubject(String name);
}
